
<!DOCTYPE html>

<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

    <title>Advanced Topics &#8212; Leo 6.7.2 documentation</title>
    <link rel="stylesheet" type="text/css" href="_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="_static/classic.css" />
    <link rel="stylesheet" type="text/css" href="_static/custom.css" />
    
    <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
    <script src="_static/jquery.js"></script>
    <script src="_static/underscore.js"></script>
    <script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
    <script src="_static/doctools.js"></script>
    <script src="_static/sphinx_highlight.js"></script>
    
    <script src="_static/sidebar.js"></script>
    
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Controlling Syntax Coloring" href="coloring.html" />
    <link rel="prev" title="Leo’s WebSocket Server" href="leoserver.html" /> 
  </head><body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="coloring.html" title="Controlling Syntax Coloring"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="leoserver.html" title="Leo’s WebSocket Server"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="leo_toc.html">Leo 6.7.2 documentation</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">Advanced Topics</a></li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <section id="advanced-topics">
<h1>Advanced Topics<a class="headerlink" href="#advanced-topics" title="Permalink to this heading">¶</a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="coloring.html">Controlling Syntax Coloring</a><ul>
<li class="toctree-l2"><a class="reference internal" href="coloring.html#settings-for-syntax-coloring">Settings for syntax coloring</a></li>
<li class="toctree-l2"><a class="reference internal" href="coloring.html#files">Files</a></li>
<li class="toctree-l2"><a class="reference internal" href="coloring.html#the-colorizer-s-inner-loop">The colorizer’s inner loop</a></li>
<li class="toctree-l2"><a class="reference internal" href="coloring.html#format-of-colorizer-control-files">Format of colorizer control files</a></li>
<li class="toctree-l2"><a class="reference internal" href="coloring.html#rule-methods">Rule methods</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="writingPlugins.html">Writing Plugins</a><ul>
<li class="toctree-l2"><a class="reference internal" href="writingPlugins.html#id1">Writing Plugins</a></li>
<li class="toctree-l2"><a class="reference internal" href="writingPlugins.html#important-security-warnings">Important security warnings</a></li>
<li class="toctree-l2"><a class="reference internal" href="writingPlugins.html#documenting-plugins">Documenting plugins</a></li>
<li class="toctree-l2"><a class="reference internal" href="writingPlugins.html#c-ivars-properties">c ivars &amp; properties</a></li>
<li class="toctree-l2"><a class="reference internal" href="writingPlugins.html#handling-events">Handling events</a></li>
<li class="toctree-l2"><a class="reference internal" href="writingPlugins.html#support-for-unit-testing">Support for unit testing</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="debuggers.html">Debugging with Leo</a><ul>
<li class="toctree-l2"><a class="reference internal" href="debuggers.html#using-g-trace-and-g-pdb">Using g.trace and g.pdb</a></li>
<li class="toctree-l2"><a class="reference internal" href="debuggers.html#settings-for-winpdb">Settings for winpdb</a></li>
<li class="toctree-l2"><a class="reference internal" href="debuggers.html#debugging-scripts-with-winpdb">Debugging scripts with winpdb</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="console-gui.html">Leo’s Console Gui</a><ul>
<li class="toctree-l2"><a class="reference internal" href="console-gui.html#system-requirements">System requirements</a></li>
<li class="toctree-l2"><a class="reference internal" href="console-gui.html#starting-leo-with-the-console-gui">Starting Leo with the console gui</a></li>
<li class="toctree-l2"><a class="reference internal" href="console-gui.html#exiting-leo-saving-files">Exiting Leo &amp; saving files</a></li>
<li class="toctree-l2"><a class="reference internal" href="console-gui.html#navigation-and-editing">Navigation and editing</a></li>
<li class="toctree-l2"><a class="reference internal" href="console-gui.html#leo-key-bindings">Leo key bindings</a></li>
<li class="toctree-l2"><a class="reference internal" href="console-gui.html#limitations">Limitations</a></li>
<li class="toctree-l2"><a class="reference internal" href="console-gui.html#broadcasting-and-listening">Broadcasting and listening</a></li>
<li class="toctree-l2"><a class="reference internal" href="console-gui.html#developing-the-cursesgui2-plugin">Developing the cursesGui2 plugin</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="leoserver.html">Leo’s WebSocket Server</a><ul>
<li class="toctree-l2"><a class="reference internal" href="leoserver.html#the-communication-protocol">The communication protocol</a></li>
<li class="toctree-l2"><a class="reference internal" href="leoserver.html#the-main-server-loop">The main server loop</a></li>
<li class="toctree-l2"><a class="reference internal" href="leoserver.html#compatibility-and-extensibility">Compatibility and extensibility</a></li>
<li class="toctree-l2"><a class="reference internal" href="leoserver.html#multiple-concurrent-connections">Multiple concurrent connections</a></li>
<li class="toctree-l2"><a class="reference internal" href="leoserver.html#command-line-arguments">Command line arguments</a></li>
<li class="toctree-l2"><a class="reference internal" href="leoserver.html#acknowledgments">Acknowledgments</a></li>
</ul>
</li>
</ul>
</div>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="scripting-miscellany.html">A Miscellany of Leo Scripting</a></li>
<li class="toctree-l1"><a class="reference internal" href="theory.html">Exploring Leo’s Code Base</a></li>
<li class="toctree-l1"><a class="reference internal" href="vim-theory.html">Vim Mode: Theory of Operation</a></li>
<li class="toctree-l1"><a class="reference internal" href="leonine-world.html">The Leonine World</a></li>
<li class="toctree-l1"><a class="reference internal" href="leo-university.html">Leo University</a></li>
</ul>
</div>
</section>


            <div class="clearer"></div>
          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="leo_toc.html">
              <img class="logo" src="_static/LeoLogo.svg" alt="Logo"/>
            </a></p>
  <div>
    <h4>Previous topic</h4>
    <p class="topless"><a href="leoserver.html"
                          title="previous chapter">Leo’s WebSocket Server</a></p>
  </div>
  <div>
    <h4>Next topic</h4>
    <p class="topless"><a href="coloring.html"
                          title="next chapter">Controlling Syntax Coloring</a></p>
  </div>
<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script>document.getElementById('searchbox').style.display = "block"</script>
        </div>
<div id="sidebarbutton" title="Collapse sidebar">
<span>«</span>
</div>

      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="coloring.html" title="Controlling Syntax Coloring"
             >next</a> |</li>
        <li class="right" >
          <a href="leoserver.html" title="Leo’s WebSocket Server"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="leo_toc.html">Leo 6.7.2 documentation</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">Advanced Topics</a></li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 1997-2023, Edward K. Ream.
      Last updated on February 28, 2023.
      Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 5.3.0.
    </div>
  </body>
</html>